<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>玩家在线下线统计</title>
    <link href="/majiang/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/majiang/Public/admin/js/jquery.js"></script>

    <script type="text/javascript" src="/majiang/Public/layer/layer.js"></script>

    <link href="/majiang/Public/admin/css/select.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/majiang/Public/admin/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/majiang/Public/admin/js/select-ui.min.js"></script>
     <script type="text/javascript" src="/majiang/Public/My97DatePicker/WdatePicker.js"></script>
    <script>
        //弹出文件导入界面
        function leadingin(){
            layer.open({
                type: 2,
                title: '导入用户信息',
                maxmin: false,
                shadeClose: true, //点击遮罩关闭层
                area : ['800px' , '520px'],
                content: ['<?php echo U("userinfo/leadingin");?>'],
                end: function () {
                        location.reload();
                    }
            });
        }
    </script>
	<script type="text/javascript">
			$(document).ready(function(e) {
				$("#daili").uedSelect({
					width : 100		  
				});
			});
				$(document).ready(function(e) {
				$("#zaixian").uedSelect({
					width : 100		  
				});
			});
     </script>
	
    </head>
    <body>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="<?php echo U('index/welcome');?>">首页</a></li>
                <li><a href="<?php echo U('userinfo/userlineinfo');?>">玩家在线下线列表</a></li>
            </ul>
        </div>

        <div class="formbody"> 
            <table class="tablelist">
                <thead>
                    <tr> 
                        <th>在线人数</th>
                        <th>下线人数</th>
                    </tr>
                </thead>
                <tbody>
			
                    <tr>						
						<td ><?php echo ($online); ?></td>
						<td ><?php echo ($downline); ?></td> 
                        </tr> 
                </tbody>
            </table>
        </div>
        <script type="text/javascript">
            $('.tablelist tbody tr:odd').addClass('odd');
        </script>
    </body>

</html>